package org.example.infrastructure.persistent.dao;

import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.annotations.Mapper;
import org.example.domain.activity.model.entity.ActivitySkuEntity;
import org.example.infrastructure.persistent.po.RaffleActivitySku;

import java.util.List;

@Mapper
public interface IRaffleActivitySkuDao {

    RaffleActivitySku queryActivitySku(Long sku);

    void updateActivitySkuStock(Long sku);

    void clearActivitySkuStock(Long sku);

    List<RaffleActivitySku> queryActivitySkuByActivityId(Long activityId);

}
